#ifndef SERVER
#define SERVER

typedef struct Server{
    int sockfd;
    int is_stoped;
}Server;

extern Server* create_server(const char* addr,u_int16_t port);

extern Server* process_server(Server *server);

extern Server* stop_server(Server *server);

extern Server* destroy_server(Server *server);

#endif